package com.djz.stuinfomge.util;

import java.io.IOException;
import java.io.Writer;

import javax.servlet.http.HttpServletResponse;

public class WriteStrToRespUtil {
	public static  void process(HttpServletResponse resp, String str){
		try {
			Writer w = resp.getWriter();
			w.write(str);
			w.flush();
			
		} catch (IOException e) {
			e.printStackTrace();
		}
		
	}
}
